package org.user.service;


import com.fasterxml.jackson.core.JsonProcessingException;
import org.common.util.Result;
import org.user.domain.pojo.UserLogin;
import org.user.domain.pojo.UserRegister;

import java.util.List;

public interface UserService {
    //进行用户注册
    void register(UserRegister userRegister);
    //根据手机号查询手机号和密码
    UserLogin getUserLoginByPhone(String phone);

    //用户登录
    Result login(UserLogin userLogin) throws JsonProcessingException;


}
